// apps/web-antd/src/components/color-picker/types.ts
export interface ColorPickerProps {
  modelValue?: string;
  disabled?: boolean;
  showAlpha?: boolean;
  colorFormat?: 'hex' | 'hsl' | 'hsv' | 'rgb';
  size?: 'default' | 'large' | 'small';
  predefine?: string[];
  getPopupContainer?: () => HTMLElement;
}

export interface ColorPickerEmits {
  'update:modelValue': [value: string];
  change: [value: string];
  'active-change': [value: string];
  clear: [];
}
